package com.ruif.model;

/**
 * 温度表
 * @author pc
 *
 */
public class Tempera
{
    
    private long id;      //编号（主键）
    private int temp;     //温度
    private String date;  //日期时间
    private int status;   //状态  0-正常 1-报警
    
    public Tempera()
    {
        super();
    }
    
    public Tempera(int temp, int status)
    {
        super();
        this.temp = temp;
        this.status = status;
    }
    
    public Tempera(int temp, String date, int status)
    {
        super();
        this.temp = temp;
        this.date = date;
        this.status = status;
    }

    public Tempera(long id, int temp, String date, int status)
    {
        super();
        this.id = id;
        this.temp = temp;
        this.date = date;
        this.status = status;
    }

    public long getId()
    {
        return id;
    }
    public void setId(long id)
    {
        this.id = id;
    }
    
    public int getTemp() {
        return temp;
    }
    public void setTemp(int temp)
    {
        this.temp = temp;
    }
    
    public String getDate()
    {
        return date;
    }
    public void setDate(String date)
    {
        this.date = date;
    }
    
    public int getStatus()
    {
        return status;
    }
    public void setStatus(int status)
    {
        this.status = status;
    }
    
}
